package com.autumn.config.api.vo;

import java.io.Serializable;

import com.autumn.config.api.consts.ConfigureConsts.StatusConsts;

/**
 * 配置输出
 * 
 * @author 老码农
 *         <p>
 *         Description
 *         </p>
 * @date 2017-12-31 00:53:35
 */
public class ConfigureValue  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4592291635720525620L;

	private Long id;
	private Integer sortId;
	private Integer status;
	private String remark;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * 获取显示顺序
	 * 
	 * @return
	 */
	public Integer getSortId() {
		return sortId;
	}

	/**
	 * 设置显示顺序
	 * 
	 * @param sortId
	 *            显示顺序
	 */
	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	/**
	 * 获取备注
	 * 
	 * @return
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * 设置备注
	 * 
	 * @param remark
	 *            备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取状态名称
	 * 
	 * @return
	 */
	public String getStatusName() {
		return StatusConsts.getName(this.getStatus());
	}

	
}
